<!DOCTYPE html>
<html>

<!-- Head -->

<head>
  <title>注册表单</title>
  <!-- Meta-Tags -->
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <!-- //Meta-Tags -->
  <!-- Style -->
  <link rel="stylesheet" href="css/common.css" type="text/css" media="all">
</head>
<!-- //Head -->

<!-- Body -->

<body>
  <h1>XBiaoShop</h1>
  <div class="container w3layouts agileits pr" id="app">
    <a href="login.html" class="back"></a>
    <div class="register w3layouts agileits">
      <h2>欢 迎 注 册</h2>
      <form action="#" method="post">
        <input type="text" Name="Name" placeholder="用户名" required="" v-model="username" @blur="checkUserName">
        <span style="color: red">{{checkUsernameMsg}}</span><br>
        <input type="email" Name="Email" placeholder="邮箱" required="" v-model="email" @blur="checkEmail">
        <span style="color: red">{{checkEmailMsg}}</span><br>
        <input type="password" Name="Password" placeholder="密码" v-model="password" @keyup="checkPassword" required="">
        <input type="password" Name="Password" placeholder="确认密码" v-model="password2"  required="" @keyup="checkPassword">
        <span style="color: red">{{checkPawMsg}}</span><br>
      </form>
      <div class="send-button w3layouts agileits">
        <input type="submit" @click="toRegister" value="免费注册">
      </div>
      <div class="clear"></div>
    </div>
    <div class="clear"></div>
  </div>
  <div class="footer w3layouts agileits">
    <p>Copyright &copy; 2020.XB All rights reserved.</p>
  </div>
</body>
<!-- //Body -->
<script type="text/javascript" src="js/jquery-2.2.3.min.js"></script>
<script type="text/javascript" src="js/jquery-cookie-1.4.1.js"></script>
<script type="text/javascript" src="js/vue-2.6.11.js"></script>
<script type="text/javascript" src="js/axios-0.19.2.min.js"></script>
<script type="text/javascript" src="js/layer.js"></script>
<script type="text/javascript" src="js/common/register.js"></script>
<script type="text/css" src="js/theme/default/layer.css"></script>
</html>